<div class="ui-g ui-g-12 media-upload-container" style="height:100%;">
    <div class="ui-g-3 border-spe-right">
        <div class="ui-g-12" *ngFor="let catalog of catalogs">
            <p-radioButton name="catalog" value="{{catalog.value}}" label="{{catalog.label}}"
                [(ngModel)]="selectedCatalog">
            </p-radioButton>
        </div>
    </div>
    <div class="ui-g-9">
        <p-fileUpload #file name="files[]" customUpload="true" (uploadHandler)="onFileUploadHandler($event, file)"
            multiple="multiple" maxFileSize="5000000" [showCancelButton]="false" chooseLabel="选择" uploadLabel="上传">
            <ng-template pTemplate="content">
                <ul *ngIf="uploadedFiles.length">
                    <li *ngFor="let file of uploadedFiles">{{file.name}} - {{file.size}} bytes</li>
                </ul>
            </ng-template>
        </p-fileUpload>
    </div>
</div>